'use strict';
const myList = uniCloud.database().collection('my-list')
exports.main = async (event, context) => {
  // 获取id
  const {
    id
  } = event

  //返回数据给客户端
  return await myList.doc(id).get()
};
